package com.two.service.shopcar.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import com.two.common.entity.Menu;
import com.two.common.entity.Restaurant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author 汪瑞明
 * @since 2022-09-01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Shopcar对象", description = "")
public class Shopcar implements Serializable {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty("购物车id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("菜名")
    private String dishName;

    @ApiModelProperty("购物车菜的数量")
    private Integer dishNum;

    @ApiModelProperty("菜品图片")
    private String menuImg;

    @ApiModelProperty("菜品单价")
    private String disPrice;

    @ApiModelProperty("菜品所属餐厅id")
    private Integer rid;

    @ApiModelProperty("用户昵称")
    private String usermonicker;

    @ApiModelProperty("逻辑删除列")
    private String isDeleted;

    @ApiModelProperty("商店菜的数量")
    private Integer number;

    @TableField(exist = false)
    private Menu menu;

    @TableField(exist = false)
    private boolean selected;

}
